package com.zhxymm.book.dao;

import com.zhxymm.book.entity.NewBook;
import com.zhxymm.book.entity.OverTime;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OverTimeRepository extends CrudRepository<OverTime,Long> {
    @Override
    public List<OverTime> findAll();

    OverTime findByOverTimeId(long theId);

}
